Free Sequentially in Orthogonal Order-Sorted Rewriting Systems with Constructors
نویسنده
چکیده
We introduce the notions of sequentiality and strong sequentiality in order-sorted rewriting systems, both closely related to the subsort order and to the form of declarations of the signature. We deene free sequentiality for the class of orthogonal systems with constructors, a notion which does not impose conditions over the signature. We provide an eeective decision procedure for free sequentiality that gives at the same time a simple construction of a non-deterministic pattern matching tree. These trees describe how the reenement of sorts and structures has to be done along the reduction sequence in such a way that wasteful computations are avoided.
منابع مشابه
Algebraic Semantics for Functional Logic Programming with Polymorphic Order-Sorted Types
In this paper we present the semantics of a functional logic language with parametric and order-sorted polymorphism. Typed programs consist of a polymorphic signature and a set of constructor-based conditional rewriting rules for which we deene a semantic calculus. The denotational semantics of the language is based on Scott domains interpreting constructors and functions by monotonic and conti...
متن کاملCurrying of Order-Sorted Term Rewriting Systems
Term rewriting system is a helpful tool for implementing functional programming languages. We focus upon a transformation of term rewriting systems called currying. Currying transforms a term rewriting system with symbols of arbitrary arity into another one, which contains only nullary symbols with a single binary symbol called application. Currying in single-sorted case is explored in [1] but ...
متن کاملKAWABE and ISHII : THE COMPLETENESS OF ORDER - SORTED TERM REWRITING SYSTEMS IS PRESERVED
The currying of term rewriting systems (TRSs) is a transformation of TRSs from a functional form to an applicative form. We have already introduced an order-sorted version of currying and proved that the compatibility and con uence of order-sorted TRSs were preserved by currying[3]. In this paper, we focus on a key property of TRSs, completeness. We rst show some proofs omitted in ref.[3]. Then...
متن کاملDependency Pairs for Rewriting with Non-free Constructors
A method based on dependency pairs for showing termination of functional programs on data structures generated by constructors with relations is proposed. A functional program is specified as an equational rewrite system, where the rewrite system specifies the program and the equations express the relations on the constructors that generate the data structures. Unlike previous approaches, relat...
متن کاملHow to Transform Canonical Decreasing CTRSs into Equivalent Canonical TRSs
We prove constructively that the class of ground-connuent and decreasing conditional term rewriting systems (CTRSs) (without extra variables) coincides with the class of orthogonal and terminating , unconditional term rewriting systems (TRSs). TRSs being included in CTRSs, this result follows from a transformation from any ground-connuent and decreasing CTRS specifying a computable function f i...
متن کامل